home *** CD-ROM | disk | FTP | other *** search
- This is the X version of sokoban.
-
- The only way this is different from the previous version is that the curses
- display routines have been removed, and replaced with an X driven display.
- However this implies some small differences and enhancements as detailed below.
-
- I have nothing to do with the original author of Sokoban, and did attempt
- to contact the author of the unix version, but was unable to get a reply
- back from him.
-
- I'm releasing this to the net as a public service. This game is EXCLUSIVELY
- in the public domain.
-
- CHANGES:
- -- Requires at least X11R4 to compile.
- -- bitmaps can be specified on the command line or via xresources.
- On the command line, -b followed by the directory in which to find
- the bitmaps will cause them to be loaded from there instead of the
- default. Anyone not found will be loaded from the default.
- -- the fancy walls option can be specified via the command line or via
- xresources.
- -- the arrow keys on DEC keyboards can be used to control movement in
- exactly the same ways as the h, j, k, l keys can (including shifted
- or controlled).
- -- The program recognizes the following x resources.
- xsokoban.foreground: The name of the color to use as the foreground.
- xsokoban.background: The name of the color to use as the background.
- xsokoban.border: The name of the color to use as the border.
- xsokoban.cursor: The name of the color to use as the cursor
- foreground.
- xsokoban.fontname: The name of the font to display text with.
- Using a font other than 9x15 (the default)
- may cause some parts of the help screens to
- not display properly.
- xsokoban.bitmaps: The name of the directory in which to search
- for the bitmaps used by the program.
- xsokoban.fancyWalls: Specifies whether to use fancy walls or not.
- Use 0 for false or anything else for true
- -- It is possible that the score file format is NOT compatable with
- versions of sokoban in existance. I believe that the standard
- sokoban scorefile format was modified here at CMU, and I used the CMU
- score file version in this code.
-
- A list of the names of the bitmap files and what they expect is given in the
- internal help.
-
- There is no man page for this program to this date.
-
- If anyone wishes to write the man page, or to make other improvements to this
- code, please send me context diffs agains these sources, and I will take care
- of merging all patches together and redistributing them.
-
- Thank you.
-
- Joseph L. Traub
- jt1o@andrew.cmu.edu
-